Skip to content

Add a Solution for Maximum Subarray (LeetCode Problem 53) #511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

thevijayshankersharma
Copy link
Contributor

Related Issue

fixes #412

Description

As requested, I have added the solution for the "Maximum Subarray" problem from LeetCode. The solution includes:

id, title, desc, label, and tags
Problem statement
Problem description and links
Examples
Constraints
Solution code for Python, Java, and C++
Approach and explanation
Conclusion

This should provide a comprehensive and clear solution to the problem, following the structure and quality of previous solutions. I hope this meets the requirements.

Type of PR

  • Feature enhancement
  • Documentation update

Screenshots / Videos (if applicable)

image

image

image

Checklist

  • I have performed a self-review of my code.
  • I have read and followed the Contribution Guidelines.
  • I have tested the changes thoroughly before submitting this pull request.
  • I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • I have commented my code, particularly in hard-to-understand areas.

Additional Context

i followed instaruction as you said
i hope quality of this code impressed you
thank you

Resources for Guidance

Here are some resources that may be helpful as you contribute to CodeHarborHub:

Resources for DSA Features on Our Site:

Copy link

vercel bot commented Jun 4, 2024

Deployment failed with the following error:

Resource is limited - try again in 34 minutes (more than 100, code: "api-deployments-free-per-day").

Copy link

sonarqubecloud bot commented Jun 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

deepsource-io bot commented Jun 4, 2024

Here's the code health analysis summary for commits c9cb102..5696426. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@thevijayshankersharma
Copy link
Contributor Author

@Vipullakum007 Have a look.

@ajay-dhangar
Copy link
Member

@thevijayshankersharma The site is under maintenance today due to a high volume of test requests. As a result, our queue is currently full. Therefore, I won't be able to merge any contributor PRs today. Once the issue is resolved, I will review and merge all pending PRs. I apologize for the inconvenience and appreciate your patience.

@ajay-dhangar ajay-dhangar added documentation Improvements or additions to documentation GSSOC'24 GirlScript Summer of Code | Contributor level2 GirlScript Summer of Code | Contributor's Levels gssoc GirlScript Summer of Code | Contributor level1 GirlScript Summer of Code | Contributor's Levels and removed level2 GirlScript Summer of Code | Contributor's Levels labels Jun 4, 2024
Copy link
Member

@ajay-dhangar ajay-dhangar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ajay-dhangar ajay-dhangar merged commit ba6d06f into codeharborhub:main Jun 5, 2024
6 of 7 checks passed
@sanjay-kv sanjay-kv removed the level1 GirlScript Summer of Code | Contributor's Levels label Jun 16, 2024
@thevijayshankersharma
Copy link
Contributor Author

@ajay-dhangar, could you please add the 'level 1' tag to this PR? I can accumulate a maximum of 200 points from your repository, and currently, I have 180 points. Therefore, please add the 'level 1' tag to two PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation gssoc GirlScript Summer of Code | Contributor GSSOC'24 GirlScript Summer of Code | Contributor
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feature Request]: I would like to add solution for 53. Maximum Subarray
3 participants